<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
        integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
</head>

<body>
    <div id="grade" class="container">
        <table class="table table-bordered">
            <thead>
                <tr>
                    <th>序号</th>
                    <th>名称</th>
                    <th>价格</th>
                    <th>上映时间</th>
                </tr>
            </thead>
            <tbody>
                <tr v-for="(item,index) in person" :class="[item.score>=90?'a':'']">
                    <td>{{index+1}}</td>
                    <td>{{item.name}}</td>
                    <td>{{item.price}}</td>
                    <td>{{item.time}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</body>

</html>
<script src="vue.js"></script>
<script>
    let vm = new Vue({
        el: "#grade",
        data: {
            person: [
                {
                    id: 1,
                    name: '姜子牙',
                    price: 30.00,
                    time: 1607928388132
                },
                {
                    id: 2,
                    name: '我和我的祖国',
                    price: 45.00,
                    time: 1307928388132
                },
                {
                    id: 3,
                    name: '我和我的家乡',
                    price: 32.10,
                    time: 1407928388132
                }
            ]
        }
    })
</script>